package com.credit.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the credit_coin_record database table.
 * 
 */
@Entity
@Table(name="credit_coin_record")
/*@NamedQuery(name="CreditCoinRecord.findAll", query="SELECT c FROM CreditCoinRecord c")*/
public class CreditCoinRecord extends IdEntity implements Serializable {

	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;

	private String name;

	private int number;

	private String orderId;

	private Long userId;

	private String useType;
	
	private BigDecimal money;

	public CreditCoinRecord() {
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNumber() {
		return this.number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUseType() {
		return this.useType;
	}

	public void setUseType(String useType) {
		this.useType = useType;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

}